package com.conversationboard.model;

public class Images {

	private static String[] imageFileExtensions = { ".jpg", ".jpeg", ".png", ".gif", ".bmp" };


	public static boolean isImageFileExtension(String extension) {

		extension = extension.toLowerCase();

		for (String imageFileExtension : imageFileExtensions) {

			if (extension.equals(imageFileExtension)) {
				return true;
			}
		}

		return false;

	}

}
